package com.company.project.modular.system.model;

import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 
 * </p>
 *
 * @author lsf
 * @since 2018-10-30
 */
@TableName("sys_standard")
public class Standard extends Model<Standard> {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    @TableField("standard_code")
    private String standardCode;
    @TableField("standard_name")
    private String standardName;
    @TableField("standard_id")
    private String standardId;
    @TableField("standard_label")
    private String standardLabel;
    @TableField("standard_origin")
    private String standardOrigin;
    @TableField("standard_size")
    private String standardSize;
    @TableField("standard_use")
    private String standardUse;
    @TableField("standard_path")
    private String standardPath;
    @TableField("standard_condition")
    private String standardCondition;
    @TableField("standard_date")
    private Date standardDate;
    @TableField("standard_period")
    private String standardPeriod;
    @TableField("standard_period_yn")
    private Integer standardPeriodYn;
    @TableField("standard_price")
    private Double standardPrice;
    @TableField("standard_persion")
    private String standardPersion;
    @TableField("standard_type")
    private Integer standardType;
    @TableField("doc_id")
    private Integer docId;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getStandardCode() {
        return standardCode;
    }

    public void setStandardCode(String standardCode) {
        this.standardCode = standardCode;
    }

    public String getStandardName() {
        return standardName;
    }

    public void setStandardName(String standardName) {
        this.standardName = standardName;
    }

    public String getStandardId() {
        return standardId;
    }

    public void setStandardId(String standardId) {
        this.standardId = standardId;
    }

    public String getStandardLabel() {
        return standardLabel;
    }

    public void setStandardLabel(String standardLabel) {
        this.standardLabel = standardLabel;
    }

    public String getStandardOrigin() {
        return standardOrigin;
    }

    public void setStandardOrigin(String standardOrigin) {
        this.standardOrigin = standardOrigin;
    }

    public String  getStandardSize() {
        return standardSize;
    }

    public void setStandardSize(String  standardSize) {
        this.standardSize = standardSize;
    }

    public String getStandardUse() {
        return standardUse;
    }

    public void setStandardUse(String standardUse) {
        this.standardUse = standardUse;
    }

    public String getStandardPath() {
        return standardPath;
    }

    public void setStandardPath(String standardPath) {
        this.standardPath = standardPath;
    }

    public String getStandardCondition() {
        return standardCondition;
    }

    public void setStandardCondition(String standardCondition) {
        this.standardCondition = standardCondition;
    }

    public Date getStandardDate() {
        return standardDate;
    }

    public void setStandardDate(Date standardDate) {
        this.standardDate = standardDate;
    }

    public String getStandardPeriod() {
        return standardPeriod;
    }

    public void setStandardPeriod(String standardPeriod) {
        this.standardPeriod = standardPeriod;
    }

    public Integer getStandardPeriodYn() {
        return standardPeriodYn;
    }

    public void setStandardPeriodYn(Integer standardPeriodYn) {
        this.standardPeriodYn = standardPeriodYn;
    }

    public Double getStandardPrice() {
        return standardPrice;
    }

    public void setStandardPrice(Double standardPrice) {
        this.standardPrice = standardPrice;
    }

    public String getStandardPersion() {
        return standardPersion;
    }

    public void setStandardPersion(String standardPersion) {
        this.standardPersion = standardPersion;
    }

    public Integer getStandardType() {
        return standardType;
    }

    public void setStandardType(Integer standardType) {
        this.standardType = standardType;
    }

    public Integer getDocId() {
        return docId;
    }

    public void setDocId(Integer docId) {
        this.docId = docId;
    }

    @Override
    protected Serializable pkVal() {
        return this.id;
    }

    @Override
    public String toString() {
        return "Standard{" +
        "id=" + id +
        ", standardCode=" + standardCode +
        ", standardName=" + standardName +
        ", standardId=" + standardId +
        ", standardLabel=" + standardLabel +
        ", standardOrigin=" + standardOrigin +
        ", standardSize=" + standardSize +
        ", standardUse=" + standardUse +
        ", standardPath=" + standardPath +
        ", standardCondition=" + standardCondition +
        ", standardDate=" + standardDate +
        ", standardPeriod=" + standardPeriod +
        ", standardPeriodYn=" + standardPeriodYn +
        ", standardPrice=" + standardPrice +
        ", standardPersion=" + standardPersion +
        ", standardType=" + standardType +
         ", docId=" + docId +
        "}";
    }
}
